home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / FLX238BN.ZIP / libsrc / flex / makefile.n next >
Makefile  |  1993-11-28  |  956b  |  38 lines

  1. # This file is generated from maketmpl by mm.c
  2. # This is file Maketmpl
  3. #
  4. # Copyright (C) 1993 DJ Delorie, 24 Kirsten Ave, Rochester NH 03867-2954
  5. #
  6. # This file is distributed under the terms listed in the document
  7. # "copying.dj", available from DJ Delorie at the address above.
  8. # A copy of "copying.dj" should accompany this file; if not, a copy
  9. # should be available from where this file was obtained.  This file
  10. # may not be distributed without a verbatim copy of "copying.dj".
  11. #
  12. # This file is distributed WITHOUT ANY WARRANTY; without even the implied
  13. # warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. #
  15.  
  16. #
  17. # Makefile for libflex.a
  18. #
  19.  
  20. ENDOFLIST =
  21.  
  22. CFLAGS = -O2
  23.  
  24. OBJS = \
  25.     $(ODIR)/libmain.o \
  26.     $(ENDOFLIST)
  27.  
  28. ../../lib/libflex$(PS).a : $(ODIR) $(OBJS)
  29.     -rm $@
  30.     ar rs $@ $(ODIR)/*.o
  31.  
  32. $(ODIR) :
  33.     md $(ODIR)
  34.  
  35. $(ODIR)/libmain.o : src/libmain.c
  36.     gcc $(PG) $(CFLAGS) -c src/libmain.c -o $(ODIR)/libmain.o
  37.  
  38.